package com.ukao.steward.bean;

/**
 * Created by ukaodev on 2018/2/2.
 */

public class ReceiveOrderBean  {


    /**
     * data : {"msg":"已重复扫码","alert":1}
     * httpCode : 200
     * msg : 请求成功
     * timestamp : 1517539790184
     */

    private DataBean data;
    private int httpCode;
    private String msg;
    private long timestamp;







    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getHttpCode() {
        return httpCode;
    }

    public void setHttpCode(int httpCode) {
        this.httpCode = httpCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public static class DataBean {
        /**
         * msg : 已重复扫码
         * alert : 1
         */

        private String msg;
        private int alert;

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public boolean getAlert() {
            if (alert==1){
                return true;
            }
            return false;
        }

        public void setAlert(int alert) {
            this.alert = alert;
        }
    }
}
